<script lang="ts" setup>
import { useSystemStore } from '~/stores/system'
import type { IconType } from '~/types'
const store = useSystemStore()
const color = computed(() => store.color)
const border = computed(() => store.border)
defineProps<{
  type: IconType
}>()
</script>

<template>
  <div class="svg-icon">
    <template v-if="type === 'logo'">
      <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
        <path
          d="M13.1318 1.80376L20.2432 5.91938C20.5876 6.11894 20.8734 6.40554 21.0721 6.75043C21.2707 7.09532 21.3752 7.48638 21.375 7.88438V16.1156C21.3752 16.5136 21.2707 16.9047 21.0721 17.2496C20.8734 17.5945 20.5876 17.8811 20.2432 18.0806L13.1318 22.1959C12.7878 22.395 12.3974 22.4998 12 22.4998C11.6026 22.4998 11.2122 22.395 10.8683 22.1959L3.75675 18.0806C3.41239 17.8811 3.12656 17.5945 2.92792 17.2496C2.72928 16.9047 2.62481 16.5136 2.625 16.1156V7.88438C2.62481 7.48638 2.72928 7.09532 2.92792 6.75043C3.12656 6.40554 3.41239 6.11894 3.75675 5.91938L10.8683 1.80413C11.2122 1.60503 11.6026 1.50018 12 1.50018C12.3974 1.50018 12.7878 1.60503 13.1318 1.80413V1.80376ZM11.5688 3.02063L4.45725 7.13551C4.32603 7.21158 4.21711 7.3208 4.14142 7.45224C4.06573 7.58368 4.02593 7.73271 4.026 7.88438V16.1156C4.026 16.4246 4.19025 16.71 4.45725 16.8645L11.5688 20.9798C11.6998 21.0556 11.8486 21.0955 12 21.0955C12.1514 21.0955 12.3002 21.0556 12.4313 20.9798L19.5427 16.8645C19.674 16.7884 19.7829 16.6792 19.8586 16.5478C19.9343 16.4163 19.9741 16.2673 19.974 16.1156V7.88438C19.974 7.57538 19.8097 7.29001 19.5427 7.13551L12.4313 3.02026C12.3002 2.94441 12.1514 2.90447 12 2.90447C11.8486 2.90447 11.6998 2.94441 11.5688 3.02026V3.02063Z"
          :fill="color" />
        <path
          d="M8.8125 13.125V15H6.9375V13.125H8.8125ZM12.9375 10.875V15H11.0625V10.875H12.9375ZM17.0625 9V15H15.1875V9H17.0625Z"
          :fill="color" />
      </svg>
    </template>
    <template v-if="type === 'table'">
      <svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
        <path
          d="M16.872 6.75004V3.37394C16.872 2.13131 15.8646 1.12395 14.622 1.12395H3.37402C2.13139 1.12395 1.12402 2.13131 1.12402 3.37394V14.6219C1.12402 15.8646 2.13139 16.8719 3.37402 16.8719H14.622C15.8646 16.8719 16.872 15.8646 16.872 14.6219V6.75004ZM2.57817 2.57809C2.6826 2.47313 2.80679 2.3899 2.94358 2.33322C3.08037 2.27655 3.22703 2.24755 3.37509 2.2479H14.6251C14.7728 2.24807 14.9191 2.27737 15.0556 2.33413C15.192 2.39089 15.3159 2.47398 15.4202 2.57866C15.5245 2.68335 15.6071 2.80756 15.6634 2.94421C15.7197 3.08085 15.7484 3.22725 15.7481 3.37502V5.62609H2.24797V3.37502C2.24762 3.22696 2.27662 3.08029 2.3333 2.9435C2.38998 2.80672 2.4732 2.68252 2.57817 2.57809ZM7.30891 10.687V6.75004H10.6871V10.687H7.30891ZM10.6871 11.811V15.748H7.30891V11.811H10.6871ZM6.18497 10.687H2.24797V6.75004H6.18497V10.687ZM2.57817 15.4197C2.47326 15.3157 2.39004 15.1919 2.33336 15.0554C2.27668 14.919 2.24765 14.7727 2.24797 14.625V11.811H6.18497V15.748H3.37509C3.22715 15.7487 3.08053 15.72 2.94374 15.6637C2.80694 15.6073 2.68269 15.5244 2.57817 15.4197ZM15.7481 14.625C15.7483 14.7725 15.7195 14.9187 15.6631 15.0551C15.6068 15.1914 15.5241 15.3154 15.4198 15.4197C15.3154 15.524 15.1915 15.6067 15.0551 15.6631C14.9188 15.7194 14.7726 15.7483 14.6251 15.748H11.8111V11.811H15.7481V14.625ZM15.7481 10.687H11.8111V6.75004H15.7481V10.687Z"
          :fill="color" />
      </svg>
    </template>
    <template v-if="type === 'plus'">
      <svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
        <path
          d="M15.8942 6.05214C15.5163 5.16093 14.9767 4.35937 14.2894 3.67206C13.6021 2.98476 12.8022 2.44511 11.9093 2.06718C10.9864 1.6787 10.0073 1.48007 8.99658 1.48007C7.98584 1.48007 7.00498 1.6787 6.08213 2.06894C5.19092 2.44687 4.38936 2.98652 3.70205 3.67382C3.01475 4.36113 2.4751 5.16093 2.09717 6.0539C1.70693 6.97675 1.5083 7.95761 1.5083 8.96835C1.5083 9.9791 1.70693 10.96 2.09717 11.8828C2.4751 12.774 3.01475 13.5756 3.70205 14.2629C4.38936 14.9502 5.18916 15.4898 6.08213 15.8678C7.00498 16.258 7.98584 16.4566 8.99658 16.4566C10.0073 16.4566 10.9882 16.258 11.911 15.8678C12.8022 15.4898 13.6038 14.9502 14.2911 14.2629C14.9784 13.5756 15.5181 12.7758 15.896 11.8828C16.2862 10.96 16.4849 9.9791 16.4849 8.96835C16.4849 7.95761 16.2845 6.97499 15.8942 6.05214ZM8.99658 15.3984C5.44932 15.3984 2.56475 12.5121 2.56475 8.9666C2.56475 5.42109 5.44932 2.53476 8.99658 2.53476C12.5421 2.53476 15.4284 5.41933 15.4284 8.9666C15.4284 12.5121 12.5421 15.3984 8.99658 15.3984Z"
          :fill="color" />
        <path
          d="M12.9551 8.45508H9.52734V5.02734C9.52734 4.7373 9.29004 4.5 9 4.5C8.70996 4.5 8.47266 4.7373 8.47266 5.02734V8.45508H5.04492C4.75488 8.45508 4.51758 8.69238 4.51758 8.98242C4.51758 9.27246 4.75488 9.50977 5.04492 9.50977H8.47266V12.9375C8.47266 13.2275 8.70996 13.4648 9 13.4648C9.29004 13.4648 9.52734 13.2275 9.52734 12.9375V9.50977H12.9551C13.2451 9.50977 13.4824 9.27246 13.4824 8.98242C13.4824 8.69238 13.2451 8.45508 12.9551 8.45508Z"
          :fill="color" />
      </svg>
    </template>
    <template v-if="type === 'del'">
      <svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
        <path
          d="M10.2014 13.1422V6.83211C10.2014 6.09636 11.35 6.09636 11.35 6.83211V13.1411C11.3511 13.8769 10.2014 13.8769 10.2014 13.1422ZM6.75552 13.1422V6.83211C6.75552 6.09636 7.90414 6.09636 7.90414 6.83211V13.1411C7.90414 13.8769 6.75552 13.8769 6.75552 13.1422ZM16.5216 3.96449H13.6495V2.81699C13.6495 1.86636 12.8766 1.09686 11.9429 1.09686H6.18064C5.95451 1.09657 5.73053 1.14083 5.52152 1.22713C5.3125 1.31343 5.12253 1.44007 4.96248 1.59981C4.80242 1.75956 4.67541 1.94927 4.5887 2.15812C4.50199 2.36697 4.45729 2.59086 4.45714 2.81699V3.96449H1.58502C0.849266 3.96449 0.849266 5.11086 1.58502 5.11086H16.5205C17.2574 5.11086 17.2574 3.96449 16.5216 3.96449ZM5.60689 2.81699C5.60689 2.51211 5.87577 2.24324 6.18064 2.24324H11.9429C12.2478 2.24324 12.4998 2.47724 12.4998 2.81699V3.96449H5.60689V2.81699ZM13.0746 17.1562H5.03202C4.80598 17.1564 4.58212 17.112 4.37324 17.0256C4.16435 16.9393 3.97452 16.8126 3.81458 16.6529C3.65464 16.4932 3.52773 16.3035 3.44109 16.0947C3.35446 15.8859 3.30979 15.6622 3.30964 15.4361V6.83211C3.30964 6.49124 3.57852 6.25836 3.88339 6.25836C4.18827 6.25836 4.45827 6.49124 4.45827 6.83211V15.435C4.45827 15.7399 4.72827 16.0087 5.03202 16.0087H13.0746C13.2257 16.0048 13.3694 15.9431 13.4764 15.8364C13.5833 15.7296 13.6453 15.586 13.6495 15.435V6.85011C13.6495 6.09749 14.7981 6.09749 14.7981 6.85011V15.4361C14.7975 15.8927 14.6157 16.3304 14.2925 16.653C13.9693 16.9755 13.5312 17.1565 13.0746 17.1562Z"
          :fill="color" />
      </svg>
    </template>
    <template v-if="type === 'search'">
      <svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
        <path
          d="M13.4939 12.3761C14.4838 11.1365 15.0219 9.59666 15.0195 8.01035C15.0195 7.79852 14.9353 7.59537 14.7855 7.44558C14.6357 7.29579 14.4325 7.21164 14.2207 7.21164C14.0088 7.21164 13.8056 7.29579 13.6558 7.44558C13.506 7.59537 13.4218 7.79852 13.4218 8.01035C13.4209 9.33301 12.9356 10.6095 12.0575 11.5988C11.1794 12.5881 9.96945 13.2216 8.65609 13.3797C7.34272 13.5378 6.01691 13.2096 4.92909 12.457C3.84127 11.7044 3.06676 10.5795 2.75184 9.29487C2.43693 8.01024 2.60342 6.65477 3.21987 5.4845C3.83632 4.31424 4.86005 3.41019 6.09768 2.94314C7.33531 2.47609 8.70116 2.47836 9.93723 2.94953C11.1733 3.4207 12.194 4.32814 12.8066 5.50045C12.8553 5.59332 12.9219 5.67569 13.0024 5.74285C13.083 5.81001 13.176 5.86064 13.2762 5.89186C13.3763 5.92308 13.4816 5.93427 13.5861 5.92479C13.6905 5.91531 13.7921 5.88536 13.885 5.83663C13.9779 5.7879 14.0603 5.72136 14.1274 5.6408C14.1946 5.56024 14.2453 5.46724 14.2765 5.36711C14.3077 5.26698 14.3189 5.16169 14.3094 5.05723C14.2999 4.95278 14.27 4.85122 14.2212 4.75834C13.5518 3.47991 12.5041 2.4392 11.2211 1.77832C9.93812 1.11743 8.48239 0.868581 7.05267 1.06573C5.62295 1.26289 4.28893 1.89644 3.23275 2.87989C2.17657 3.86334 1.4497 5.14875 1.15139 6.56063C0.853079 7.97251 0.997861 9.44203 1.56597 10.7686C2.13408 12.0951 3.09783 13.214 4.32563 13.9725C5.55343 14.731 6.98545 15.0921 8.42616 15.0065C9.86687 14.921 11.2461 14.3929 12.3754 13.4944C12.396 13.523 12.4212 13.5504 12.4463 13.5756L15.6462 16.775C15.7967 16.9208 15.9985 17.0016 16.208 17C16.4175 16.9983 16.618 16.9144 16.7662 16.7662C16.9144 16.6181 16.9983 16.4176 17 16.2081C17.0016 15.9986 16.9208 15.7969 16.775 15.6464L13.5751 12.447C13.55 12.4216 13.5233 12.3979 13.495 12.3761H13.4939Z"
          :fill="color" />
      </svg>
    </template>
    <template v-if="type === 'reset'">
      <svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
        <path
          d="M9.2249 1.875C7.3499 1.875 5.5499 2.625 4.1999 3.825L4.0499 2.625C4.0499 2.175 3.6749 1.875 3.2249 1.95C2.7749 1.95 2.4749 2.325 2.5499 2.775L2.6999 4.8C2.7749 5.775 3.5999 6.525 4.5749 6.525H4.7249L6.7499 6.375C7.1999 6.375 7.4999 6 7.4249 5.55C7.4249 5.1 7.0499 4.8 6.5999 4.875L5.0999 4.95C6.2249 3.975 7.6499 3.375 9.1499 3.375C12.4499 3.375 15.1499 6.075 15.1499 9.375C15.1499 12.675 12.4499 15.375 9.1499 15.375C5.8499 15.375 3.1499 12.675 3.1499 9.375C3.1499 8.925 2.8499 8.625 2.3999 8.625C1.9499 8.625 1.6499 8.925 1.6499 9.375C1.6499 13.5 5.0249 16.875 9.1499 16.875C13.2749 16.875 16.6499 13.5 16.6499 9.375C16.7249 5.25 13.3499 1.875 9.2249 1.875Z"
          :fill="color" />
      </svg>
    </template>
    <template v-if="type === 'edit'">
      <svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
        <path
          d="M15.6867 5.55293C15.3791 5.55293 15.1277 5.80254 15.1277 6.11191V15.1998H2.84063V2.91094H11.6596C11.9672 2.91094 12.2186 2.66133 12.2186 2.35195C12.2186 2.04258 11.9672 1.79297 11.6596 1.79297H2.84063C2.22539 1.79297 1.72266 2.29395 1.72266 2.91094V15.1998C1.72266 15.815 2.22363 16.3178 2.84063 16.3178H15.1295C15.7447 16.3178 16.2475 15.8168 16.2475 15.1998V6.11191C16.2457 5.80254 15.9961 5.55293 15.6867 5.55293Z"
          :fill="color" />
        <path
          d="M16.2771 1.73495C16.0152 1.47303 15.5916 1.47303 15.3297 1.73495L9.40586 7.65878C9.14394 7.92069 9.14394 8.34432 9.40586 8.60624C9.53594 8.73632 9.7082 8.80311 9.88047 8.80311C10.0527 8.80311 10.2232 8.73807 10.3551 8.60624L16.2789 2.68241C16.5391 2.42225 16.5391 1.99686 16.2771 1.73495ZM4.2959 12.3767C4.2959 12.6844 4.54551 12.9357 4.85488 12.9357H10.9984C11.3061 12.9357 11.5574 12.6861 11.5574 12.3767C11.5574 12.0691 11.3078 11.8178 10.9984 11.8178H4.85313C4.54551 11.8195 4.2959 12.0691 4.2959 12.3767Z"
          :fill="color" />
        <path
          d="M12.3945 12.3768C12.3945 12.525 12.4534 12.6672 12.5583 12.772C12.6631 12.8769 12.8053 12.9357 12.9535 12.9357C13.1018 12.9357 13.2439 12.8769 13.3488 12.772C13.4536 12.6672 13.5125 12.525 13.5125 12.3768C13.5125 12.2285 13.4536 12.0863 13.3488 11.9815C13.2439 11.8767 13.1018 11.8178 12.9535 11.8178C12.8053 11.8178 12.6631 11.8767 12.5583 11.9815C12.4534 12.0863 12.3945 12.2285 12.3945 12.3768Z"
          :fill="color" />
      </svg>
    </template>
    <template v-if="type === 'truncate'">
      <svg t="1727746217245" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"
        p-id="1472" width="18" height="18">
        <path
          d="M274.56 798.997333l19.434667-25.130666-33.792 68.565333a18.133333 18.133333 0 0 0 11.562666 25.536l59.733334 16a18.133333 18.133333 0 0 0 17.28-4.48c20.522667-19.818667 35.626667-35.989333 45.290666-48.469333l19.456-25.130667-33.813333 68.565333a18.133333 18.133333 0 0 0 11.562667 25.536l84.48 22.634667a18.133333 18.133333 0 0 0 17.28-4.48c20.522667-19.84 35.626667-35.989333 45.269333-48.469333l19.456-25.130667-33.813333 68.565333A18.133333 18.133333 0 0 0 535.530667 938.666667l72.106666 19.328a18.133333 18.133333 0 0 0 17.28-4.48c20.522667-19.84 35.626667-36.010667 45.269334-48.490667l19.456-25.130667-33.813334 68.586667a18.133333 18.133333 0 0 0 11.584 25.514667l86.421334 23.338666 3.84-0.213333c13.269333-0.704 29.056-5.034667 43.84-12.8 29.781333-15.701333 48.170667-43.2 52.181333-78.250667 2.133333-18.517333 4.778667-38.549333 8.405333-63.530666 1.642667-11.221333 2.944-20.010667 6.229334-41.834667 11.050667-73.322667 14.634667-101.034667 17.130666-133.674667l0.938667-12.373333 2.837333-2.922667 12.330667-1.344a41.813333 41.813333 0 0 0 24.810667-11.221333c10.730667-10.24 14.805333-25.386667 11.093333-42.197333l-37.546667-171.584c-3.029333-13.696-11.264-27.946667-23.146666-39.829334-11.648-11.626667-25.92-20.138667-39.893334-23.893333L723.626667 331.306667l-2.261334-3.925334L774.250667 130.133333c8.32-31.061333-11.754667-63.744-44.970667-72.64l-79.509333-21.312c-33.194667-8.896-66.922667 9.365333-75.264 40.426667l-52.842667 197.269333-3.925333 2.261334-118.101334-31.637334c-13.994667-3.754667-30.634667-3.498667-46.506666 0.746667-16.256 4.352-30.506667 12.586667-39.957334 22.933333l-118.314666 129.792c-11.605333 12.714667-15.658667 27.84-11.52 42.090667 4.16 14.229333 15.850667 25.194667 32.896 30.528l13.610666 4.266667 2.133334 3.882666-3.626667 13.802667c-21.12 79.850667-52.885333 136.917333-85.717333 150.890667-47.530667 20.202667-72.938667 49.429333-78.421334 85.034666-5.034667 32.682667 9.28 67.114667 37.589334 91.541334l22.037333 8.341333 74.666667 20.010667a42.666667 42.666667 0 0 0 41.216-11.050667c15.274667-15.274667 26.88-28.032 34.837333-38.293333z m551.381333-396.565333c14.144 3.797333 29.952 19.2 32.768 32l34.56 157.781333a10.666667 10.666667 0 0 1-13.184 12.586667L240.64 433.493333a10.666667 10.666667 0 0 1-5.12-17.493333l108.8-119.36c8.832-9.685333 30.229333-15.146667 44.373333-11.349333l141.333334 37.866666a21.333333 21.333333 0 0 0 26.133333-15.082666l58.304-217.642667a21.333333 21.333333 0 0 1 26.133333-15.082667l77.056 20.650667a21.333333 21.333333 0 0 1 15.082667 26.133333l-58.325333 217.642667a21.333333 21.333333 0 0 0 15.082666 26.112l136.448 36.565333zM315.456 701.568c-33.664 45.141333-64.597333 79.082667-92.8 101.802667l-5.909333 4.778666-2.837334 0.597334-88.106666-24.106667-2.922667-3.2c-13.034667-14.165333-19.370667-31.04-16.981333-46.592 3.285333-21.333333 22.058667-39.338667 53.205333-52.586667 31.722667-13.482667 59.818667-47.104 82.922667-99.904 10.026667-22.954667 18.88-48.725333 26.389333-76.586666l3.882667-14.4 3.904-2.261334 566.165333 151.701334 2.346667 3.306666-0.789334 12.224c-1.984 30.592-30.336 229.397333-32.128 244.906667-2.346667 20.416-11.306667 34.986667-27.605333 44.394667a73.237333 73.237333 0 0 1-21.397333 8.106666l-5.013334 0.725334-60.373333-16.170667 11.242667-20.288c8.277333-14.976 22.656-43.84 43.093333-86.613333a21.12 21.12 0 0 0-9.962667-28.16l-3.136-1.493334a21.333333 21.333333 0 0 0-26.261333 6.485334c-33.642667 45.056-64.533333 78.912-92.672 101.546666l-5.909333 4.757334-2.837334 0.597333-52.544-14.08 11.114667-20.266667c3.562667-6.485333 7.04-13.013333 10.453333-19.626666 7.04-13.504 17.898667-35.797333 32.597334-66.816a21.290667 21.290667 0 0 0-9.984-28.309334l-3.029334-1.450666a21.333333 21.333333 0 0 0-26.368 6.442666c-33.6 45.013333-64.469333 78.826667-92.608 101.482667l-5.909333 4.757333-2.837333 0.597334-52.138667-13.973334 11.114667-20.266666c3.242667-5.888 6.72-12.416 10.453333-19.626667 6.997333-13.461333 17.962667-35.946667 32.896-67.434667a20.970667 20.970667 0 0 0-10.112-28.010666l-3.328-1.536a21.333333 21.333333 0 0 0-26.069333 6.613333c-33.642667 45.056-64.554667 78.976-92.778667 101.696l-5.909333 4.757333-2.837334 0.597334-32.64-8.746667 11.093334-20.245333c3.541333-6.506667 7.04-13.034667 10.453333-19.626667 6.976-13.482667 17.941333-35.968 32.874667-67.456a21.056 21.056 0 0 0-10.069334-28.074667l-3.242666-1.514666a21.333333 21.333333 0 0 0-26.154667 6.549333z"
          :fill="color"></path>
      </svg>
    </template>
    <template v-if="type === 'collapsed'">
      <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
        <rect width="5.86236" height="0.97706" rx="0.48853"
          transform="matrix(-0.68232 -0.731054 -0.68232 0.731054 8.6665 9.78574)" :fill="border" />
        <rect width="5.86236" height="0.97706" rx="0.48853"
          transform="matrix(0.68232 -0.731054 -0.68232 -0.731054 8 10.5)" :fill="border" />
      </svg>
    </template>
    <template v-if="type === 'select'">
      <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
        <rect width="5.86236" height="0.97706" rx="0.48853"
          transform="matrix(-0.68232 -0.731054 -0.68232 0.731054 8.6665 9.78574)" :fill="color" />
        <rect width="5.86236" height="0.97706" rx="0.48853"
          transform="matrix(0.68232 -0.731054 -0.68232 -0.731054 8 10.5)" :fill="color" />
      </svg>
    </template>
    <template v-if="type === 'dark'">
      <svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
        <path
          d="M2.89998 0.499976C2.89998 0.279062 2.72089 0.0999756 2.49998 0.0999756C2.27906 0.0999756 2.09998 0.279062 2.09998 0.499976V1.09998H1.49998C1.27906 1.09998 1.09998 1.27906 1.09998 1.49998C1.09998 1.72089 1.27906 1.89998 1.49998 1.89998H2.09998V2.49998C2.09998 2.72089 2.27906 2.89998 2.49998 2.89998C2.72089 2.89998 2.89998 2.72089 2.89998 2.49998V1.89998H3.49998C3.72089 1.89998 3.89998 1.72089 3.89998 1.49998C3.89998 1.27906 3.72089 1.09998 3.49998 1.09998H2.89998V0.499976ZM5.89998 3.49998C5.89998 3.27906 5.72089 3.09998 5.49998 3.09998C5.27906 3.09998 5.09998 3.27906 5.09998 3.49998V4.09998H4.49998C4.27906 4.09998 4.09998 4.27906 4.09998 4.49998C4.09998 4.72089 4.27906 4.89998 4.49998 4.89998H5.09998V5.49998C5.09998 5.72089 5.27906 5.89998 5.49998 5.89998C5.72089 5.89998 5.89998 5.72089 5.89998 5.49998V4.89998H6.49998C6.72089 4.89998 6.89998 4.72089 6.89998 4.49998C6.89998 4.27906 6.72089 4.09998 6.49998 4.09998H5.89998V3.49998ZM1.89998 6.49998C1.89998 6.27906 1.72089 6.09998 1.49998 6.09998C1.27906 6.09998 1.09998 6.27906 1.09998 6.49998V7.09998H0.499976C0.279062 7.09998 0.0999756 7.27906 0.0999756 7.49998C0.0999756 7.72089 0.279062 7.89998 0.499976 7.89998H1.09998V8.49998C1.09998 8.72089 1.27906 8.89997 1.49998 8.89997C1.72089 8.89997 1.89998 8.72089 1.89998 8.49998V7.89998H2.49998C2.72089 7.89998 2.89998 7.72089 2.89998 7.49998C2.89998 7.27906 2.72089 7.09998 2.49998 7.09998H1.89998V6.49998ZM8.54406 0.98184L8.24618 0.941586C8.03275 0.917676 7.90692 1.1655 8.02936 1.34194C8.17013 1.54479 8.29981 1.75592 8.41754 1.97445C8.91878 2.90485 9.20322 3.96932 9.20322 5.10022C9.20322 8.37201 6.82247 11.0878 3.69887 11.6097C3.45736 11.65 3.20988 11.6772 2.96008 11.6906C2.74563 11.702 2.62729 11.9535 2.77721 12.1072C2.84551 12.1773 2.91535 12.2458 2.98667 12.3128L3.05883 12.3795L3.31883 12.6045L3.50684 12.7532L3.62796 12.8433L3.81491 12.9742L3.99079 13.089C4.11175 13.1651 4.23536 13.2375 4.36157 13.3059L4.62496 13.4412L4.88553 13.5607L5.18837 13.6828L5.43169 13.7686C5.56564 13.8128 5.70149 13.8529 5.83857 13.8885C5.94262 13.9155 6.04767 13.9401 6.15405 13.9622C6.27993 13.9883 6.40713 14.0109 6.53544 14.0298L6.85241 14.0685L7.11934 14.0892C7.24637 14.0965 7.37436 14.1002 7.50322 14.1002C11.1483 14.1002 14.1032 11.1453 14.1032 7.50023C14.1032 7.25044 14.0893 7.00389 14.0623 6.76131L14.0255 6.48407C13.991 6.26083 13.9453 6.04129 13.8891 5.82642C13.8213 5.56709 13.7382 5.31398 13.6409 5.06881L13.5279 4.80132L13.4507 4.63542L13.3766 4.48666C13.2178 4.17773 13.0353 3.88295 12.8312 3.60423L12.6782 3.40352L12.4793 3.16432L12.3157 2.98361L12.1961 2.85951L12.0355 2.70246L11.8134 2.50184L11.4925 2.24191L11.2483 2.06498L10.9562 1.87446L10.6346 1.68894L10.3073 1.52378L10.1938 1.47176L9.95488 1.3706L9.67791 1.2669L9.42566 1.1846L9.10075 1.09489L8.83599 1.03486L8.54406 0.98184ZM10.4032 5.30023C10.4032 4.27588 10.2002 3.29829 9.83244 2.40604C11.7623 3.28995 13.1032 5.23862 13.1032 7.50023C13.1032 10.593 10.596 13.1002 7.50322 13.1002C6.63646 13.1002 5.81597 12.9036 5.08355 12.5522C6.5419 12.0941 7.81081 11.2082 8.74322 10.0416C8.87963 10.2284 9.10028 10.3497 9.34928 10.3497C9.76349 10.3497 10.0993 10.0139 10.0993 9.59971C10.0993 9.24256 9.84965 8.94373 9.51535 8.86816C9.57741 8.75165 9.63653 8.63334 9.6926 8.51332C9.88358 8.63163 10.1088 8.69993 10.35 8.69993C11.0403 8.69993 11.6 8.14028 11.6 7.44993C11.6 6.75976 11.0406 6.20024 10.3505 6.19993C10.3853 5.90487 10.4032 5.60464 10.4032 5.30023Z"
          :fill="color" fill-rule="evenodd" clip-rule="evenodd"></path>
      </svg>
    </template>
    <template v-if="type === 'light'">
      <svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
        <path
          d="M7.5 0C7.77614 0 8 0.223858 8 0.5V2.5C8 2.77614 7.77614 3 7.5 3C7.22386 3 7 2.77614 7 2.5V0.5C7 0.223858 7.22386 0 7.5 0ZM2.1967 2.1967C2.39196 2.00144 2.70854 2.00144 2.90381 2.1967L4.31802 3.61091C4.51328 3.80617 4.51328 4.12276 4.31802 4.31802C4.12276 4.51328 3.80617 4.51328 3.61091 4.31802L2.1967 2.90381C2.00144 2.70854 2.00144 2.39196 2.1967 2.1967ZM0.5 7C0.223858 7 0 7.22386 0 7.5C0 7.77614 0.223858 8 0.5 8H2.5C2.77614 8 3 7.77614 3 7.5C3 7.22386 2.77614 7 2.5 7H0.5ZM2.1967 12.8033C2.00144 12.608 2.00144 12.2915 2.1967 12.0962L3.61091 10.682C3.80617 10.4867 4.12276 10.4867 4.31802 10.682C4.51328 10.8772 4.51328 11.1938 4.31802 11.3891L2.90381 12.8033C2.70854 12.9986 2.39196 12.9986 2.1967 12.8033ZM12.5 7C12.2239 7 12 7.22386 12 7.5C12 7.77614 12.2239 8 12.5 8H14.5C14.7761 8 15 7.77614 15 7.5C15 7.22386 14.7761 7 14.5 7H12.5ZM10.682 4.31802C10.4867 4.12276 10.4867 3.80617 10.682 3.61091L12.0962 2.1967C12.2915 2.00144 12.608 2.00144 12.8033 2.1967C12.9986 2.39196 12.9986 2.70854 12.8033 2.90381L11.3891 4.31802C11.1938 4.51328 10.8772 4.51328 10.682 4.31802ZM8 12.5C8 12.2239 7.77614 12 7.5 12C7.22386 12 7 12.2239 7 12.5V14.5C7 14.7761 7.22386 15 7.5 15C7.77614 15 8 14.7761 8 14.5V12.5ZM10.682 10.682C10.8772 10.4867 11.1938 10.4867 11.3891 10.682L12.8033 12.0962C12.9986 12.2915 12.9986 12.608 12.8033 12.8033C12.608 12.9986 12.2915 12.9986 12.0962 12.8033L10.682 11.3891C10.4867 11.1938 10.4867 10.8772 10.682 10.682ZM5.5 7.5C5.5 6.39543 6.39543 5.5 7.5 5.5C8.60457 5.5 9.5 6.39543 9.5 7.5C9.5 8.60457 8.60457 9.5 7.5 9.5C6.39543 9.5 5.5 8.60457 5.5 7.5ZM7.5 4.5C5.84315 4.5 4.5 5.84315 4.5 7.5C4.5 9.15685 5.84315 10.5 7.5 10.5C9.15685 10.5 10.5 9.15685 10.5 7.5C10.5 5.84315 9.15685 4.5 7.5 4.5Z"
          :fill="color" fill-rule="evenodd" clip-rule="evenodd"></path>
      </svg>
    </template>
    <template v-if="type === 'empty'">
      <svg t="1726509533204" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"
        p-id="5521" width="200" height="200">
        <path
          d="M511.912851 907.057021a87.639149 87.639149 0 0 1-51.581277-16.689021c-21.209872-15.545191-34.968511-40.306383-36.123234-66.200511 0-2.298553-0.566468-6.906553-1.710297-8.061276l-0.577362-0.566468c-0.577362-0.577362-2.865021-1.154723-5.730043-1.154724H238.483064a7.843404 7.843404 0 0 1-8.017702-8.061276 7.843404 7.843404 0 0 1 8.017702-8.061277h177.707574c5.730043 0 12.037447 1.154723 17.190128 5.762723 6.884766 5.75183 7.451234 14.96783 7.451234 19.564937 1.154723 20.71966 12.037447 41.450213 29.238468 53.531234 13.181277 9.782468 29.804936 14.390468 45.862128 13.813106 18.911319-0.566468 37.833532-9.782468 49.870978-24.172936 10.893617-12.091915 17.190128-28.780936 17.76749-44.315234 0-4.030638 0.577362-12.091915 6.873872-17.843745 5.163574-5.762723 12.614809-6.340085 17.778383-6.906553h177.696681a7.843404 7.843404 0 0 1 8.028596 8.061277 7.843404 7.843404 0 0 1-8.028596 8.061276H608.223319c-4.019745 0-5.740936 0.566468-6.318298 1.14383l-0.566468 0.577362c-1.14383 1.14383-1.721191 5.174468-1.721191 6.318298-0.566468 20.153191-8.017702 39.729021-21.787234 54.685957a87.301447 87.301447 0 0 1-61.331064 29.93566c-1.721191 0-2.865021 0.577362-4.575319 0.577361z m-26.972596-680.938212l81.397107 36.842212L700.459574 157.053277l-102.04051 110.515744 102.04051 33.955405 56.178383-206.06366-271.708595 130.658043z m112.923234 66.777872l-5.730042 62.73634 34.96851-46.047319-29.238468-16.689021z m-311.829787 324.629787c-20.643404 11.514553-36.123234 17.843745-36.123234 17.843745l3.442383 9.216c0.577362 0 16.057191-6.340085 37.25617-18.421107l-4.575319-8.638638z m45.862128-31.079489c-9.749787 7.483915-19.499574 14.96783-29.81583 21.297021a5.501277 5.501277 0 0 0-1.721191 6.906553 5.446809 5.446809 0 0 0 6.873872 1.732085c10.893617-6.906553 21.209872-14.390468 30.959659-21.874383 1.14383-1.154723 2.28766-2.875915 1.721192-4.608 0-1.721191-1.721191-3.453277-2.865021-4.030638-2.28766-0.577362-4.019745-0.577362-5.163575 0.577362z m52.725106-50.655319c-2.28766-1.721191-5.152681-1.14383-6.873872 1.154723a213.002894 213.002894 0 0 1-28.094638 32.811574 5.272511 5.272511 0 0 0 0 6.906554 5.218043 5.218043 0 0 0 6.884765 0 203.111489 203.111489 0 0 0 29.238469-34.532766c0.566468-1.154723 1.14383-2.309447 0.566468-3.453277 0.577362-0.577362-0.566468-1.732085-1.721192-2.886808z m22.364596-105.330383c0 1.721191 1.14383 3.453277 2.865021 4.030638a5.555745 5.555745 0 0 0 5.152681-0.577362c1.14383-1.154723 2.28766-2.875915 1.721192-4.608-2.28766-21.874383-10.316255-38.563404-22.931064-49.500596a5.207149 5.207149 0 0 0-6.873873 0.577362 4.749617 4.749617 0 0 0 0.566468 6.906553c10.893617 8.638638 17.778383 23.595574 19.499575 43.171405z m-79.109447-48.923234c0.566468 0 1.14383 0 2.28766-0.577362 13.181277-5.75183 27.517277-7.483915 40.132085-4.030638 2.865021 0.577362 5.152681-0.577362 6.307404-3.453277 0.566468-2.875915-0.577362-5.185362-3.442383-6.329192a68.477277 68.477277 0 0 0-46.428596 4.030639c-2.28766 1.14383-3.442383 3.453277-2.875915 5.75183 0 2.875915 1.721191 4.608 4.019745 4.608z m-26.362553 49.500595a28.737362 28.737362 0 0 1-0.577362-12.091915l4.575319-14.967829c2.298553-4.030638 4.597106-7.473021 7.462128-10.348937a5.272511 5.272511 0 0 0 0-6.917446 5.218043 5.218043 0 0 0-6.884766 0c-12.603915 13.246638-17.767489 29.93566-13.758638 47.202042 0.577362 2.875915 3.442383 4.030638 5.740936 3.453277 2.28766-1.154723 4.008851-4.030638 3.431489-6.329192z m1.14383 17.266383c-2.298553 1.721191-2.875915 4.608-1.154724 6.906553 5.163574 7.483915 12.037447 14.96783 20.066043 21.874383 2.865021 2.298553 6.307404 5.174468 9.172425 7.483915 2.28766 1.721191 5.163574 1.14383 6.873873-1.154723 1.721191-2.298553 1.154723-5.174468-1.14383-6.906553l-8.605958-6.906553c-7.44034-6.329191-13.747745-13.235745-18.333957-20.153192-1.721191-2.28766-4.586213-2.875915-6.873872-1.14383z m76.8 55.829788c2.298553 0 4.597106-1.721191 4.597106-4.597107a5.523064 5.523064 0 0 0-4.019745-5.185362c-9.738894-1.154723-18.911319-4.608-28.650212-9.205106-2.298553-1.154723-5.163574 0-6.318298 2.28766-1.14383 2.309447 0 5.185362 2.287659 6.340085a106.73566 106.73566 0 0 0 31.537022 10.35983h0.577361z m36.689702-12.091915c-1.710298 0.577362-4.008851 1.154723-5.730043 1.742978 3.442383-11.525447 5.730043-23.606468 6.884766-35.121021 0-1.154723-0.577362-2.298553-1.154723-3.453277-0.566468-1.154723-2.28766-1.732085-3.43149-1.732085-2.865021 0-5.163574 1.732085-5.163574 4.608-1.14383 12.669277-3.442383 25.32766-8.028596 37.419575-1.710298 0-4.008851 0-5.730042 0.566468a4.531745 4.531745 0 0 0-4.575319 4.608c0 2.875915 2.28766 4.608 5.15268 4.608h1.721192c-1.721191 4.608-4.019745 9.205106-6.318298 13.813106-1.132936 2.298553 0 5.185362 2.298553 6.329192 2.28766 1.154723 5.163574 0.577362 6.318298-1.721192a138.893617 138.893617 0 0 0 8.595064-18.998468c4.008851-0.577362 8.017702-1.721191 12.037447-2.875915 2.865021-0.577362 4.008851-3.453277 3.431489-5.762723-0.566468-3.453277-3.431489-5.174468-6.307404-4.030638z m57.333106-33.955405c-11.470979 9.782468-22.364596 18.421106-33.824681 24.18383-2.28766 1.14383-3.442383 4.030638-1.721191 6.89566 1.14383 2.309447 4.008851 3.453277 6.873872 1.732085 11.470979-6.329191 23.508426-14.96783 35.545873-25.32766a6.547064 6.547064 0 0 0 1.721191-4.608c-0.577362-1.721191-1.721191-3.453277-3.442383-3.453276-2.28766-1.14383-4.008851-0.566468-5.152681 0.577361z m49.870979-48.923234c-1.154723-0.577362-2.298553-1.154723-3.442383-1.154723-1.14383 0-2.28766 0.577362-3.442383 1.732085-8.028596 10.937191-16.62366 21.297021-25.218723 29.924766a4.749617 4.749617 0 0 0 0.566468 6.906553 5.218043 5.218043 0 0 0 6.884766 0 369.729362 369.729362 0 0 0 25.796085-31.079489c0.566468-1.14383 1.14383-2.298553 1.14383-3.453277-0.577362-0.577362-1.14383-1.721191-2.28766-2.875915z m40.121191-62.747234c-1.14383-0.566468-2.28766-0.566468-3.442383-0.566468-1.14383 0.577362-2.28766 1.14383-2.865021 2.298553-7.451234 13.813106-16.046298 27.059745-24.652255 39.718128a5.610213 5.610213 0 0 0-0.566468 5.174468c0.566468 1.732085 2.28766 2.886809 4.008851 2.886809a5.207149 5.207149 0 0 0 4.586213-2.309447 973.126809 973.126809 0 0 0 25.218723-40.861958c0.577362-1.154723 0.577362-2.309447 0.577362-3.453276-0.577362-1.732085-1.721191-2.309447-2.865022-2.875915z m30.948766-62.73634c2.298553 1.154723 3.442383 4.030638 2.298554 6.329191 0 0.577362-6.307404 15.545191-17.76749 37.419575-1.154723 2.875915-4.019745 3.453277-6.318298 2.298553-2.854128-1.14383-3.431489-4.030638-2.287659-6.318298 10.893617-21.885277 17.201021-36.853106 17.201021-36.853106 0.577362-1.721191 1.721191-2.28766 2.865021-2.875915 1.721191-0.577362 2.865021-0.577362 4.008851 0zM907.699745 370.382979c6.361872-9.074383 10.599489-19.968 12.712851-32.680851 2.113362 12.712851 6.350979 23.606468 12.712851 32.680851 6.350979 9.074383 14.815319 16.340426 25.414808 21.787234-10.588596 5.446809-19.06383 12.712851-25.414808 21.787234-6.361872 9.074383-10.599489 19.968-12.712851 32.680851-2.113362-12.712851-6.350979-23.606468-12.712851-32.680851-6.350979-9.074383-14.815319-16.340426-25.414809-21.787234 10.588596-5.446809 19.06383-12.712851 25.414809-21.787234z m72.627744-84.970213c2.723404-3.627574 4.542638-7.985021 5.446809-13.07234 0.90417 5.087319 2.723404 9.444766 5.446808 13.07234 2.723404 3.627574 6.350979 6.53617 10.893617 8.714894-4.542638 2.178723-8.170213 5.087319-10.893617 8.714893s-4.542638 7.985021-5.446808 13.072341a30.306043 30.306043 0 0 0-5.446809-13.072341c-2.723404-3.627574-6.350979-6.53617-10.893617-8.714893 4.542638-2.178723 8.170213-5.087319 10.893617-8.714894z m-729.87234-228.221277c5.446809-6.808511 9.074383-14.978723 10.893617-24.510638 1.819234 9.531915 5.446809 17.702128 10.893617 24.510638s12.712851 12.255319 21.787234 16.340426c-9.074383 4.085106-16.340426 9.531915-21.787234 16.340425s-9.074383 14.978723-10.893617 24.510639c-1.819234-9.531915-5.446809-17.702128-10.893617-24.510639s-12.712851-12.255319-21.787234-16.340425c9.074383-4.085106 16.340426-9.531915 21.787234-16.340426zM21.787234 302.188936c0-9.793362 8.028596-17.843745 18.344851-18.421106 10.316255 0 18.344851 8.061277 18.344851 18.410213 0 6.917447-3.442383 12.669277-9.172425 16.122553a17.538723 17.538723 0 0 1-18.344851 0A19.096511 19.096511 0 0 1 21.787234 302.188936zM628.234894 55.17617a25.741617 25.741617 0 0 1-25.785192-25.905021A25.741617 25.741617 0 0 1 628.234894 3.366128a25.741617 25.741617 0 0 1 25.796085 25.905021 25.741617 25.741617 0 0 1-25.796085 25.905021z m0-45.480851c-10.893617 0-19.477787 8.638638-19.477788 19.57583s8.595064 19.564936 19.488681 19.564936c10.893617 0 19.488681-8.627745 19.488681-19.564936A19.739234 19.739234 0 0 0 628.234894 9.695319zM214.419064 994.54366H198.372766V807.478468h16.046298v187.065192z m3.442383-203.187745l-0.577362 1.732085c-1.721191 4.608-2.865021 8.627745-2.865021 12.658383l-16.046298 1.732085c-0.577362-7.483915 1.721191-13.813106 3.442383-19.57583l0.566468-1.721191 32.103489-96.702638c14.902468-44.315234 29.238468-88.641362 44.140937-132.390128l15.468936 5.185362c-14.902468 44.315234-29.227574 88.641362-44.130043 132.390127l-32.103489 96.691745z m6.307404 232.546042c-5.730043 0-13.181277-0.577362-18.922213-6.329191-6.873872-6.340085-6.873872-15.545191-6.873872-21.874383v-1.154723h16.046298v1.154723c0 4.030638 0 8.061277 1.721191 9.782468l0.577362 0.577362c1.721191 1.721191 5.730043 1.721191 9.738894 1.721191h575.52068c3.442383 0 5.163574-0.566468 6.318298-1.14383l0.566468-0.577361c0.577362-0.577362 1.14383-1.732085 1.721192-5.75183V808.633191c0-2.886809 0-5.762723-0.577362-8.061276-10.316255-31.656851-21.209872-63.313702-31.526127-94.970553-16.046298-47.779404-31.526128-95.558809-47.572426-143.327319-1.154723-2.875915-3.442383-5.185362-6.318298-5.185362H307.287149c-2.865021 0-6.307404 0-8.605958 0.577362a6.939234 6.939234 0 0 0-4.008851 4.030638l-15.468936-5.185362c2.28766-7.473021 8.017702-13.235745 15.468936-14.956936 4.586213-1.154723 9.172426-1.154723 12.614809-1.154723h416.735319c9.749787-0.577362 18.922213 6.329191 21.787234 16.122553 16.046298 47.768511 31.526128 95.537021 47.572426 143.316425 10.316255 31.656851 21.209872 63.313702 31.526127 94.970553v0.577362c1.154723 4.608 1.154723 9.216 1.154724 13.246638v191.09583c0 8.061277-2.28766 13.813106-6.884766 17.843745-5.730043 5.75183-13.758638 6.318298-17.76749 6.318298h-577.252766z"
          :fill="color" p-id="5522"></path>
      </svg>
    </template>
  </div>
</template>